<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta name="viewport" content="width=device-width" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
 <title>管理平台--登录</title>
 <link href="${ctxStatic}/css/login.css?v=5.0" rel="stylesheet" />
 <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
</head>
<script>
var ctxStatic="${ctxStatic}";
var ctx="${ctx}";
</script>
</head>
<body>
 <form  action="userlogin" method="post" target="d41d8cd98f00b204e9800998ecf8427e">
         <iframe name="d41d8cd98f00b204e9800998ecf8427e" src="about:blank" style="display:none;"></iframe>
 <div class="middle">
  <div class="m_title">用户登录</div>
  <div class="i_r">
   <span>用户</span><input type="text" placeholder="请输入用户名"/>
  </div>
  <div class="i_r">
   <span>密码</span><input type="password" placeholder="请输入密码"/>
  </div>
  <div class="i_r">
   <span>验证</span><input type="text" class="code" placeholder="请输入验证码"/>
   <img id="imgcode" alt="刷新" class="imgcode" height="33" width="80px" onclick="refCode()"  src="/kpispis-web/Code/GetCode"/>
   <%--<img id="imgcode" alt="刷新" class="imgcode" height="33" width="80px" onclick="refCode()"  src="/Code/GetCode"/>--%>
   </span>
  </div>
  <div class="i_r">
   <input type="submit" class="btn" value="登  录"/>
  </div>
 </div>
 </form>
 <script>
 function refCode(){
	 document.getElementById('imgcode').src='/kpispis-web/Code/GetCode?time=' + new Date().getTime();
     // document.getElementById('imgcode').src='Code/GetCode?time=' + new Date().getTime();
 }
 </script>
</body>
</html>